check if image is empty opencv python

161

check if image is empty opencv python -

if (type(img) is np.ndarray): 
     #do stuff with image

Comments

Submit
0 Comments